package com.atguigu.lease.app.service.impl;

import com.atguigu.lease.model.vo.app.AppointmentItemVo;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.atguigu.lease.model.bean.ViewAppointment;
import com.atguigu.lease.app.service.ViewAppointmentService;
import com.atguigu.lease.app.mapper.ViewAppointmentMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 1
* @description 针对表【view_appointment(预约看房信息表)】的数据库操作Service实现
* @createDate 2025-09-28 11:32:26
*/
@Service
public class ViewAppointmentServiceImpl extends ServiceImpl<ViewAppointmentMapper, ViewAppointment>
    implements ViewAppointmentService{

    @Override
    public List<AppointmentItemVo> getAppointmentItemVoList(Long userId) {


        return baseMapper.selectAppointmentItemVoList(userId);
    }
}




